WPGraphQL\Registry\TypeRegistry B

Total Complexity 99
Dependencies 124
Dependents 48
Total lines 1,013
Lines of code 546
Logical lines of code 312
Comment lines 326
Methods 27
Properties 3

Methods 27

Method Rating Maintainability Complexity Lines of code
init_type_registry()
B
25
12 201
register_mutation()
A
41 9 63
register_type()
A
49 10 32
prepare_type()
A
49 10 31
prepare_field()
A
49 8 31
register_fields()
S
64 8 9
prepare_fields()
S
59 7 14
register_field()
S
48 4 37
setup_type_modifiers()
S
60 4 15
register_connections_from_config()
S
59 4 14
list_of()
S
65 3 10
deregister_field()
S
64 2 11
get_type()
S
64 2 9
get_eager_type_map()
S
67 2 8
non_null()
S
69 2 7
init()
S
61 1 12
register_input_type()
S
75 1 4
register_union_type()
S
75 1 4
format_key()
S
80 1 3
has_type()
S
79 1 3
get_types()
S
79 1 3
register_enum_type()
S
75 1 4
register_interface_type()
S
75 1 4
register_object_type()
S
75 1 4
register_scalar()
S
75 1 4
register_connection()
S
75 1 4
__construct()
S
74 1 5